package com.heima.model.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName ad_user_operationlog
 */
@Data
@TableName("ad_user_operationlog")
public class AdUserOperationlog implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField("method_name")
    private String methodName;

    /**
     * 
     */
    @TableField("request_method")
    private String requestMethod;

    /**
     * 
     */
    @TableField("request_path")
    private String requestPath;

    /**
     * 
     */
    @TableField("request_operation")
    private String requestOperation;

    /**
     * 
     */
    @TableField("operator")
    @JsonProperty("operation")
    private String operator;

    /**
     * 操作人(登录用户id)
     */
    @TableField("operator_id")
    @JsonProperty("operationId")
    private Integer operatorId;

    /**
     * 
     */
    @TableField("execute_time")
    private Integer executeTime;

    /**
     * 登录用户ip
     */
    @TableField("remote_addr")
    @JsonProperty("remoteddr")
    private String remoteAddr;

    /**
     * 
     */
    @TableField("create_time")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}